x86/hvm: put value of emulated register reads into trace records
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 14 May 2012 15:54:52 +0000 (16:54 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 14 May 2012 15:54:52 +0000 (16:54 +0100)
commit633979eeb74ecf9200a2f86eff9ed3f09c12bea9
treefefc53b8c994d9d816b9f2ed1e1af90a48032647
parent8a54dd6247fc86bef027851063c00c361f6627eb
x86/hvm: put value of emulated register reads into trace records

The tracepoint for emulated MMIO and I/O port reads was always before
the emulated read or write was done.  This means that for reads the
register value in the trace record was always 0.

So for reads, move the tracepoint until the register value is
available.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/emulate.c